import request from '@/utils/request'

// 查询动力学数据列表
export function listDynamicsData(query) {
  return request({
    url: 'service-ry/output/DynamicsData/list',
    method: 'get',
    params: query
  })
}

// 查询动力学数据详细
export function getDynamicsData(id) {
  return request({
    url: 'service-ry/output/DynamicsData/' + id,
    method: 'get'
  })
}

// 新增动力学数据
export function addDynamicsData(data) {
  return request({
    url: 'service-ry/output/DynamicsData',
    method: 'post',
    data: data
  })
}

// 修改动力学数据
export function updateDynamicsData(data) {
  return request({
    url: 'service-ry/output/DynamicsData',
    method: 'put',
    data: data
  })
}

// 删除动力学数据
export function delDynamicsData(id) {
  return request({
    url: 'service-ry/output/DynamicsData/' + id,
    method: 'delete'
  })
}

// 导出动力学数据
export function exportDynamicsData(query) {
  return request({
    url: 'service-ry/output/DynamicsData/export',
    method: 'get',
    params: query
  })
}